subtotal,rate = eval(input("请输入小计和酬金率："))
gratuity = subtotal*rate*0.01
total = gratuity+subtotal

print("小费：",round(gratuity,2),"；合计：",round(total,2))